| 
 | 
 | 
 | 
| SftTree.ItemStatus Property | 
Defines an item's enabled/disabled status.
Deprecated - Provided for compatibility with earlier versions only - Use Item.Enabled instead
Syntax
| VB.NET | Boolean = object.get_ItemStatus(ByVal ItemIndex As Integer) As Boolean | ||
| VB | Boolean = object.ItemStatus(ByVal ItemIndex As Long) As Boolean | ||
| C#.NET | bool Boolean = object.get_ItemStatus(int ItemIndex); | ||
| VC++ | 
VARIANT_BOOL Boolean = object->ItemStatus[long ItemIndex];
 | ||
| C | HRESULT object->get_ItemStatus(long ItemIndex, VARIANT_BOOL* Boolean); | ||
| Delphi | Boolean := object.ItemStatus[ItemIndex : Integer] : WordBool; | ||
| VB.NET | object.set_ItemStatus(ByVal ItemIndex As Integer, ByVal Boolean As Boolean) | ||
| VB | object.ItemStatus(ByVal ItemIndex As Long) = Boolean As Boolean | ||
| C#.NET | void object.set_ItemStatus(int ItemIndex, bool Boolean); | ||
| VC++ | 
VARIANT_BOOL object->ItemStatus[long ItemIndex] = Boolean;
 | ||
| C | HRESULT object->put_ItemStatus(long ItemIndex, VARIANT_BOOL Boolean); | ||
| Delphi | object.ItemStatus[ItemIndex : Integer] := Boolean : WordBool; | ||
object
A SftTree object.
ItemIndex
The zero-based item index.
Boolean
Defines an item's enabled/disabled status.
| Boolean | Description | 
| True | The item is enabled. | 
| False | The item is disabled. It is drawn in a "grayed" manner indicating its status. Except for the visual difference, a disabled item is treated exactly like an enabled item. It is up to the application to implement a different behavior if an item is disabled. | 
Comments
Deprecated - Provided for compatibility with earlier versions only - Use Item.Enabled instead
The ItemStatus property defines an item's enabled/disabled status.
See Also SftTree Object | Object Hierarchy